EMT Practice Test
1. Question Content...
Question1: Which of these statements about HCP Terraform/Terraform Cloud workspaces is false?
Question2: You can develop a custom provider to manage its resources using Terraform.
Question4: What feature stops multiple users from operating on the Terraform state at the same time?
Question10: Terraform providers are part of the Terraform core binary.
Question11: You cannot install third party plugins using terraform init.
Question14: Why would you use the -replace flag for terraform apply?
Question16: Which Terraform command checks that your configuration syntax is correct?
Question17: When do you need to explicitly execute Terraform in refresh-only mode?
Question18: Terraform encrypts sensitive values stored in your state file.
Question19: One remote backend configuration always maps to a single remote workspace.
Question21: Terraform installs its providers during which phase?
Question23: When does Sentinel enforce policy logic during a Terraform Cloud run?
Question24: _______backends support state locking.
Question30: Which command doesnotcause Terraform to refresh its state?
Question34: Which of the following is not a key principle of infrastructure as code?
Question36: Which of these is true about Terraform's plugin-based architecture?
Question40: The public Terraform Module Registry is free to use.
Question41: Which option cannot be used to keep secrets out of Terraform configuration files?
Question43: Terraform providers are always installed from the Internet.
Question44: What type of block is used to construct a collection of nested configuration blocks?
Question45: Which of these are features of Terraform Cloud? Choose two correct answers.
Question47: Where in your Terraform configuration do you specify a state backend?
Question48: You can reference a resource created with for_each using a Splat ( *) expression.
Question51: How can terraform plan aid in the development process?
Question52: Select the command that doesn't cause Terraform to refresh its state.
Question54: When should you run terraform init?
Question55: Variables declared within a module are accessible outside of the module.
Question58: Which of the following is not a valid source path for specifying a module?
Question61: Using the terraform state rm command against a resource will destroy it.
Question62: What does state looking accomplish?
Question64: What is one disadvantage of using dynamic blocks in Terraform?
Question67: HashiCorp Configuration Language (HCL) supports user-denned functions.
Question69: What is a Terraform provider not responsible for?
Question73: What does terraform import do?
Question74: A Terraform provider is NOT responsible for:
Question81: Which of the following arguments are required when declaring a Terraform output?
Question86: Which are examples of infrastructure as code? Choose two correct answers.
Question87: Terraformrequiresthe Go runtime as a prerequisite for installation.
Question89: What does Terraform not reference when running a terraform apply -refresh-only ?
Question90: A child module can always access variables declared in its parent module.
Question92: Before you can use a remote backend, you must first execute terra-form init.
Question93: Which of the following is not a valid Terraform collection type?
Question96: terraform init creates an example main.tf file in the current directory.
Question99: Which of these ate features of Terraform Cloud? Choose two correct answers.
Question101: What is modified when executing Terraform inrefresh-only mode?
Question102: How would you output returned values from a child module in the Terraform CLI output?
Question104: When you use a remote backend that needs authentication, HashiCorp recommends that you:
Question105: Terraform configuration can only call modules from the public registry.
Question111: terraform destroy is the only way to remove infrastructure.
Question112: What is the workflow for deploying new infrastructure with Terraform?
Question114: A provider configuration block is required in every Terraform configuration.
Example:
